﻿@{
    Layout = null;
}
@model  IEnumerable<Weixin.MP.DAL.WeixinMP.UsersEO>
<form id="pagerForm" method="post" action="/User/UserPage">
<input type="hidden" name="pageIndex" value="@ViewBag.PageIndex" />
<input type="hidden" name="pageSize" value="@ViewBag.PageSize" />
<input type="hidden" name="recordCount" value="@ViewBag.RecordCount" />
</form>
<table class="list" width="100%" layouth="138">
    <thead>
        <tr>
            <th>
                用户名
            </th>
            <th>
                昵称
            </th>
            <th>
                电话
            </th>
            <th>
                邮箱
            </th>
            <th>
                操作
            </th>
        </tr>
    </thead>
    <tbody id="menu_buttons">
        @{
            foreach (var item in Model)
            {
            <tr target="repId" rel="@item.UserId">
                <td>
                    <div>
                        <span>@item.UserId</span>
                    </div>
                </td>
                <td>
                    <span>@item.NickName</span>
                </td>
                <td>
                    <span>@item.Phone</span>
                </td>
                <td>
                    <span>@item.Email</span>
                </td>
                <td>
                    <a class="edit" href="/User/Edit?id=@item.UserId" target="dialog" mask="true" width="600" height="450" rel="User_Edit">
                        <span>[修改]</span> </a><a class="delete" href="/User/Delete?id=@item.UserId" target="ajaxTodo" title="确定要删除吗？">
                            <span>[删除]</span> </a>
                </td>
            </tr>
            
            }
        }
    </tbody>
</table>
<div class="panelBar">
    <div class="pages">
        <span>共@{@ViewBag.RecordCount}
            条</span></div>
    <div rel="pagerList_Users" class="pagination" targettype="navTab" totalcount="@ViewBag.RecordCount"
        numperpage="@ViewBag.PageSize" pagenumshown="10" currentpage="@ViewBag.PageIndex">
    </div>
</div>
